package com.example.strategypattern;

/**
 * @version 1.0.0
 * @className: Xiaozhang
 * @description: 具体策略类
 * @author: zhangjunfa
 * @date: 2022/6/10 16:38
 */
public class Xiaozhang extends AbstractTravle {

    public Xiaozhang(String name, String vehicle) {
        super(name, vehicle);
    }

    @Override
    public void travelTool() {
        System.out.println(getName()+"选择坐"+getVehicle()+"去西藏旅游");
    }
}
